/*
 * Copyright 2016 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Scrollbar */
::-webkit-scrollbar {
	width: 12px;
	background: #fff;
}

::-webkit-scrollbar:horizontal {
	height: 12px;
}

/* Track */
::-webkit-scrollbar-track {
}

/* Corner */
::-webkit-scrollbar-corner {
	background: #fff;
}

/* Thumb */
::-webkit-scrollbar-thumb {
	border-radius: 12px;
	border: 4px solid rgba(255,255,255,0);
	background-clip: content-box;

	background-color: rgba(0,0,0,0.3);
	transition: background-color .5s;
	-webkit-transition: background-color .5s;
	-moz-transition: background-color .5s;
	-o-transition: background-color .5s;
	
	min-width: 0px;
	min-height: 28px;
}
::-webkit-scrollbar-thumb:horizontal {
	min-width: 28px;
	min-height: 0px;
}
::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0,0,0,.5);
}
::-webkit-scrollbar-thumb:active {
	background-color: rgba(0,0,0,.8);
}

/* Button */
::-webkit-scrollbar-button {
	width: 0;
	height: 0;
}
